package com.ssy.lingxi.member.merchant.model.vo.maintenance.response;

import java.io.Serializable;
import java.util.List;

/**
 * 平台后台 - 会员维护 - 会员详情 - 信用信息 - 交易评价记录/售后评价记录汇总返回VO
 * @author 万宁
 * @version 2.0.0
 * @date 2020-07-16
 */
public class MemberDetailCreditCommentSummaryVO implements Serializable {
    private static final long serialVersionUID = -2342959500197648317L;

    /**
     * 总体满意度
     */
    private Integer avgStar;

    /**
     * 汇总表格
     */
    private List<TableRow> rows;

    public Integer getAvgStar() {
        return avgStar;
    }

    public void setAvgStar(Integer avgStar) {
        this.avgStar = avgStar;
    }

    public List<TableRow> getRows() {
        return rows;
    }

    public void setRows(List<TableRow> rows) {
        this.rows = rows;
    }

    /**
     * 汇总表格每行内容定义
     */
    public static class TableRow implements Serializable{
        private static final long serialVersionUID = -7450734021947652651L;

        /**
         * 星级
         */
        private Integer star;

        /**
         * 最近7天
         */
        private Long last7days;

        /**
         * 最近30天
         */
        private Long last30days;

        /**
         * 最近180天
         */
        private Long last180days;

        /**
         * 180天以前
         */
        private Long before180days;

        /**
         * 总计
         */
        private Long sum;

        public Integer getStar() {
            return star;
        }

        public void setStar(Integer star) {
            this.star = star;
        }

        public Long getLast7days() {
            return last7days;
        }

        public void setLast7days(Long last7days) {
            this.last7days = last7days;
        }

        public Long getLast30days() {
            return last30days;
        }

        public void setLast30days(Long last30days) {
            this.last30days = last30days;
        }

        public Long getLast180days() {
            return last180days;
        }

        public void setLast180days(Long last180days) {
            this.last180days = last180days;
        }

        public Long getBefore180days() {
            return before180days;
        }

        public void setBefore180days(Long before180days) {
            this.before180days = before180days;
        }

        public Long getSum() {
            return sum;
        }

        public void setSum(Long sum) {
            this.sum = sum;
        }
    }
}
